package com.test.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName Resource
 * @Discription TODO 资源表
 * @Author DaiFuqiang
 * @Date 2022/11/19 22:34
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("resource")
public class Resource {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("path")
    private String path;
    @TableField("name")
    private String name;
}
